-- =============================================
-- Author:		Rodrigo Martins
-- Create date: 01/10/2013
-- Description:	Inserir Ambiente
-- =============================================
CREATE PROCEDURE ai_sp_inserirAmbiente 
	@id int output,
	@id_academia int,
	@descricao varchar(255)
	
AS
BEGIN
	INSERT INTO [Ambiente]
           ([id_academia]
           ,[descricao]
           )
     VALUES
           (@id_academia
           ,@descricao           
           )
   select @id = @@IDENTITY

END
GO
